package cn.bfay.lion.jingdong.service.impl;

import cn.bfay.lion.jingdong.manager.JfManager;
import cn.bfay.lion.jingdong.service.JfService;
import cn.bfay.lion.jingdong.vo.GeneralPromotionLinkVo;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

/**
 * MESSAGE.
 *
 * @author wangjiannan
 */
@Service
@RequiredArgsConstructor
public class JfServiceImpl implements JfService {
    private final JfManager jfManager;

    @Override
    public GeneralPromotionLinkVo getPromotionCommon(String skuid) {
        String clickUrl = jfManager.getPromotionCommon(skuid);
        return GeneralPromotionLinkVo.builder().clickUrl(clickUrl).build();
    }
}